/*
 * NodeHead.h
 *
 *  Created on: Apr 25, 2012
 *      Author: REZNIK
 */

#ifndef NODEHEAD_H_
#define NODEHEAD_H_

#include "NodeImpl.h"
#include "ListException.h"

namespace cs236703_spring2012_hw2{

class NodeHead : public NodeImpl
{
public:
	virtual ~NodeHead() {}
	virtual bool IsImmutable() const{ throw IllegalStateException(); }
	virtual void SetValue(int _value){ throw IllegalStateException(); }
	virtual int GetValue() const { throw IllegalStateException(); }
};


};

#endif /* NODEHEAD_H_ */
